package cn.inno;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * 分布式服务提供端
 *
 * @author LeungZengJian
 */
@SpringBootApplication
@EnableEurekaClient
@EnableCircuitBreaker //对hystrix熔断机制的支持
@MapperScan(basePackages = {"cn.inno.dao"})
@ServletComponentScan
public class App_Dept_8001 {

    public static void main(String[] args) {
        SpringApplication.run(App_Dept_8001.class, args);
    }

}
